<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 18:04:54
         compiled from "..\application\views\admin\tree.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1793555321c6221184-49017944%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '032cee9470b82db5c09bc5adec47527100d950cf' => 
    array (
      0 => '..\\application\\views\\admin\\tree.tpl',
      1 => 1431506089,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1793555321c6221184-49017944',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'category' => 0,
    'k' => 0,
    'child' => 0,
    'cd' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_555321c64b8cc5_64903402',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_555321c64b8cc5_64903402')) {function content_555321c64b8cc5_64903402($_smarty_tpl) {?><div class="tree">
		<ul id="root">
		    <?php  $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['k']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['k']->key => $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->_loop = true;
?>
		    <li>
		        <label><a href="<?php if ($_smarty_tpl->tpl_vars['k']->value['Type']!='目录') {?><?php echo site_url("document/Judge?Id=".((string)$_smarty_tpl->tpl_vars['k']->value['Id']));?>
<?php } else { ?>javascript:;<?php }?>"><?php echo $_smarty_tpl->tpl_vars['k']->value['CateName'];?>
</a></label>
		        <?php if (!empty($_smarty_tpl->tpl_vars['k']->value['Child'])) {?>
		        <ul class="two">
		        <?php  $_smarty_tpl->tpl_vars['child'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['child']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['k']->value['Child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['child']->key => $_smarty_tpl->tpl_vars['child']->value) {
$_smarty_tpl->tpl_vars['child']->_loop = true;
?>
		            <li>
		            <label><a href="<?php if ($_smarty_tpl->tpl_vars['child']->value['Type']!='目录') {?><?php echo site_url("document/Judge?Id=".((string)$_smarty_tpl->tpl_vars['child']->value['Id']));?>
<?php } else { ?>javascript:;<?php }?>"><?php echo $_smarty_tpl->tpl_vars['child']->value['CateName'];?>
</a></label>
				<?php if (!empty($_smarty_tpl->tpl_vars['child']->value['Child'])) {?>
		        <ul class="two">
		        <?php  $_smarty_tpl->tpl_vars['cd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cd']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['child']->value['Child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cd']->key => $_smarty_tpl->tpl_vars['cd']->value) {
$_smarty_tpl->tpl_vars['cd']->_loop = true;
?>
		            <li><label><a href="<?php if ($_smarty_tpl->tpl_vars['cd']->value['Type']!='目录') {?><?php echo site_url("document/Judge?Id=".((string)$_smarty_tpl->tpl_vars['cd']->value['Id']));?>
<?php } else { ?>javascript:;<?php }?>"><?php echo $_smarty_tpl->tpl_vars['cd']->value['CateName'];?>
</a></label></li>
		            <?php } ?>
		        </ul>
		          <?php }?>
		            </li>
		            <?php } ?>
		        </ul>
		          <?php }?>
		    </li>
		    <?php } ?>
		</ul>	
	</div><?php }} ?>
